package blJunitTest;

import static org.junit.Assert.*;

import java.rmi.RemoteException;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import bl.SearchCourseBLImpl;

public class SearchCourseBLImplTest {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testIsTeacherCourse() {
//		fail("Not yet implemented");
		int courseID = 1;
		int teacherID = 2;
		try {
			assertEquals(new SearchCourseBLImpl().isTeacherCourse(courseID, teacherID), true);
		} catch (RemoteException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
